﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TImSdk 
{
    /// <summary>
    /// 资料变更通知
    /// </summary>
    public class ProfileChangeElem: Elem
    {
        /// <summary>
        /// 资料变更类型
        /// </summary>
        [JsonProperty("profile_change_elem_change_type")]
        public TIMProfileChangeType Profile_Change_Elem_Change_Type { get;set;}
        /// <summary>
        /// 资料变更用户的identifier
        /// </summary>
        [JsonProperty("profile_change_elem_from_identifer")]
        public string Profile_Change_Elem_From_Identifer{get;set;}
        /// <summary>
        /// 具体的变更信息，只有当 change_type 为 kTIMProfileChange_Profile 时有效
        /// </summary>
        [JsonProperty("profile_change_elem_user_profile_item")]
        public UserProfileItem Profile_Change_Elem_User_Profile_Item {get;set;}  
    }
}
